.class final Lnet/tsapps/topdeals/b/f;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/b/d;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/b/d;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/b/f;->a:Lnet/tsapps/topdeals/b/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2

    iget-object v0, p0, Lnet/tsapps/topdeals/b/f;->a:Lnet/tsapps/topdeals/b/d;

    invoke-static {v0}, Lnet/tsapps/topdeals/b/d;->a(Lnet/tsapps/topdeals/b/d;)Lnet/tsapps/topdeals/e/d;

    move-result-object v0

    invoke-virtual {v0, p4, p5}, Lnet/tsapps/topdeals/e/d;->a(J)Z

    move-result v0

    iget-object v1, p0, Lnet/tsapps/topdeals/b/f;->a:Lnet/tsapps/topdeals/b/d;

    invoke-static {v1}, Lnet/tsapps/topdeals/b/d;->a(Lnet/tsapps/topdeals/b/d;)Lnet/tsapps/topdeals/e/d;

    move-result-object v1

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, p4, p5, v0}, Lnet/tsapps/topdeals/e/d;->a(JZ)V

    iget-object v0, p0, Lnet/tsapps/topdeals/b/f;->a:Lnet/tsapps/topdeals/b/d;

    invoke-static {v0}, Lnet/tsapps/topdeals/b/d;->b(Lnet/tsapps/topdeals/b/d;)Lnet/tsapps/topdeals/a/h;

    move-result-object v0

    invoke-virtual {v0}, Lnet/tsapps/topdeals/a/h;->notifyDataSetChanged()V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method
